South Sudan’s President Salva Kiir and rebel leader Riek Machar signed a peace deal on Wednesday in the margins of a summit in Ethiopia.