After months of political deadlock, Afghanistan’s President Ashraf Ghani and his election rival Abdullah Abdullah on Sunday signed a power-sharing agreement in which Ghani remains in his post and Abdullah takes a leading role in the peace process. International responses were quick to follow.