A deal has been reached between Ethiopia’s warring parties — the federal government and Tigrayan forces — for a permanent cessation of hostilities.