Khartoum, ex-rebels clinch deal on implementation of peace treaty