John Healey was announced as chancellor in a shock move for the prime minister