Judge halts construction of Keystone XL oil pipeline