equity swap was to hedge the risk under a capital borrowing, so that loss on closing out the swap was on capital account