Modifying Terms of Loans Can Have Unexpected Income Tax Consequences