Senior UN officials have welcomed an agreement signed on Monday between military and civilian leaders in Sudan as a “courageous” step forward towards the establishment of democratic rule.