Net Zero Secretary Ed Miliband has said he will not resign if the government backs a third runway at Heathrow following years of opposition by him.