To be fair, I believe Revenue Canada has some regulations that prevent companies from 'hiding' profits through contributions if the plan is in surplus. This would be another issue to look at. 

But the government could just change the bankruptcy laws to wall-off pension plans from creditors if a company goes bankrupt rather than treating the pension plan as part of the company's assets.