Six-figure settlement for family of man who took his life despite being under the care of NHS