County settles child welfare lawsuit for $1.8 million