Equitable Life left with £40m legal bill after dropping negligence claim