That doesn’t really solve the problem. If the tax liability is still owed, then what you suggest would deal with the refund offset problem, but that’s just a symptom of a larger issue. If the OP still owes the IRS then the IRS may look to other means to collect it, which may be levying a bank account or wages, seizing property, etc. That could create a significant problem for the OP should it occur.
The OP needs to verify if the taxes owed were discharged or not as the first step. If they were discharged, then the OP needs to get the IRS to input the discharge onto the IDRS system. That will stop future collection and get back the refunds that were improperly offset. If the tax liability was not dischargeable then he still owes the IRS and needs to work out something with the IRS for payment.

