Tax Court rules cancellation of debt is part of gain realization