"wife got the house. Husband got the debt"
Is that according to divorce court, or did your bank actually release her from liability, and transfer his interest in the real estate to her? I'm assuming divorce court. In that case, it's totally up to the bank what you allow, because both pledge the existing home as collateral, and both are still liable.
I have a problem with 'substituting collateral on the original note' in either case.