Brazzaville, Kinshasa agree to repatriate former soldiers