Rishi Sunak has been to Buckingham Palace to formally tell the King that he’s resigned as PM.