Blockchain pruning and chainstate
Pruning does not only keep the UTXO set. It also keeps the latest few hundred blocks, in order to assist with reorganizations.

Pruning was experimental in Bitcoin Core 0.11, and incompatible with the wallet. Since 0.12, it's a fully supported feature that works fine with the wallet.