How to write off a large investment loss