The Treasury Secretary had previously taken a position on his taxes that contradicted the views of the tax agency that he now oversees.