A court throws out a ruling that the gas and oil giant cut its greenhouse gas emissions.