Andy Burnham took the final steps on Monday to succeed Keir Starmer and become Britain’s seventh prime minister in a decade.