s. 248(28)(a) applied to reduce capital gain on disposition of preferred shares on which a capital gain had been realized under s. 55(2)(b)