(court affirms Tax Court decision that petitioner had taxable gain in accordance with Treas. Reg. Sec. 1.1502-13(g)(4); loans to S corporation did not amount to indebtedness and did not establish a basis against which losses could be taken).