Corbyn to be prime minister