Somalia's top court rejects president's term extension amid political crisis