From 1996 until the middle of 2006, an anarchic equilibrium had sometimes provided safe haven to terrorists operating in East Africa. But in June 2006, an Islamic fundamentalist movement known as the Islamic Courts Union seized control of Somalia’s capital, Mogadishu, despite an unsuccessful...