Facing the loss of a valuable deduction, high-tax states file a lawsuit.