The IRS had argued that Mylan had to capitalize the legal expenses it paid both to defend itself in the patent infringement suits and to prepare the notice …