Taxpayer who expected to make €2m profit from developing a site for housing was instead left with €61,000 tax bill