US taxpayers must return millions after mistaken refunds