Although U.S. troops are leaving Somalia, they will be deployed elsewhere in East Africa, the U.S. Africa Command leader said.