IRS: Tax glitch affects about 660K returns