Secretary-General Ban Ki-moon fired the commander of the peacekeeping force in South Sudan on Tuesday after an independent investigation sharply criticized the military response to deadly attacks in July on a U.N. compound housing 27,000 displaced people.