Congress OKs tax relief on forgiven mortgage debt

President expected to sign three-year exemption into law