Somalia's president, prime minister move to resolve dispute