UK Prime Minister has won the backing of a majority of Tory MPs in a confidence vote despite a significant revolt against his leadership.