The taxpayer spent £52.8 million on the transition between parliaments, including around £13 million on redundancy payments.