An enormous entitlement in the tax code props up home prices - and overwhelmingly benefits the wealthy and the upper middle class.