African leaders announced the withdrawal of thousands of troops from South Africa, Tanzania and Malawi who were sent to quell insurgencies in mineral-rich eastern Democratic Republic of the Congo, where M23 rebels have killed some of the peacekeepers while overrunning the region this year.