Loss deductions for abandonment of intangible assets