Four UK government ministers have resigned as pressure mounts on Prime Minister Keir Starmer to quit.