Boris Johnson is set to resign as prime minister following intense pressure from MPs