Appeal court takes heat off National Grid Ofgem fine