State pensioners have been told they can legally avoid paying Stamp Duty thanks to a little known loophole.