After signing a 14-point deal with the country’s military chief, Sudanese Prime Minister Abdulla Hamdok returned to office, promising to adopt a 2019 constitutional agreement.