Appeals court overturns decision on Keystone XL pipeline