The chancellor quits four weeks before the Budget as PM carries out a post-Brexit cabinet reshuffle.