New York State has banned the use of solitary confinement for inmates under 18 years old, and will set limits on the use of isolation throughout the penal system, according to the state’s department of corrections.