The Post Office's ‘flipping’ practice saw staff sacked then rehired as contractors on inflated rates, public inquiry hears.