GMC and trust facing legal action over case of doctor who took his own life