Notwithstanding any requirement, condition, or limitation stated in or imposed by this section concerning the sale and repurchase of loans, the Under Secretary for Benefits, or the Director, Loan Guaranty Service, within the limitations and conditions prescribed by the Secretary may take such action as may be necessary or appropriate to relieve undue prejudice to a holder, debtor or other person,