Contra Costa County Juvenile Hall will stop keeping youths in solitary confinement after settling a 2013 lawsuit that accused the county’s Probation Department of holding minors with mental health issues in prolonged isolation and depriving them of special education services.