King of Morocco dismisses PM following stalemate over coalition talks