Court of Appeal ruling protects pensions in bankruptcy cases