Somalia’s president said on Thursday he had withdrawn the executive powers of the prime minister, the latest twist in a feud that has plunged the country into a deep political crisis.