The prime minister told the Cabinet a leadership contest had not been triggered, and that he wouldn’t be resigning.