UK Prime Minister Boris Johnson was defiantly hanging onto power on Thursday despite the resignation of four top ministers and a seemingly unstoppable revolt by his own lawmakers, threatening to paralyse the British government.