TransAlta Corp. has agreed to sell three of its acquired generating businesses to satisfy Canada’s competition bureau