The Scottish government has climbed down on winter fuel payments by re-introducing it for all pensioners.