Sudan’s civilian Prime Minister Abdalla Hamdok announced his resignation on Sunday evening on state television, more than two months after being reinstated as part of an political agreement with the military.