US court halts construction of Keystone XL oil pipeline