Some 23,000 staff would have been sacked and rehired if the plans had gone ahead.