Canada scrambles to save Keystone XL pipeline