One solution is to simply treat everyone equally and not give anyone a tax break.
I know this is not what most people think, but in the context of good governance, my view is that no (legal) behavior is any more or less meritorious than any other.
There are lots of perfectly legal things that are bad for everyone if too many people do them (the tragedy of the commons). Trying to reduce bad things happening to citizens is arguably the entire purpose of government.