deductibility of legal fees is subject to the 65302 principles including that the defended conduct not be egregious or repugnant