National Grid told to return £87m consumer cash for pipelines it did not build