Congo agrees to deal with warlord