The IRS must pay nearly $169 million in refunds to tax return preparers for charging them excessive fees for special identification numbers, a D.C. federal judge ruled, a judgment the preparers requested after a decade of litigation but said includes flawed agency calculations.