Offsetting crash losses against tax