tax treatment for write off of abandoned real estate costs