Tax Breaks: The Silver Lining to Investment Losses