Prime Minister Abdalla Hamdok says new law is not an act of revenge, but rather aimed at preserving people's dignity.