Ed Miliband is on a “messianic drive” to pull the plug on North Sea oil and gas extraction, the shadow Scotland secretary has warned as he backed his party’s pledge to abolish the Climate Change Act.