Mediator's office says agreement between leaders of north and south Sudan to pave the way for Ethiopian troops' arrival.