The newly appointed commissioner of New York City’s jail system violated city law by sending as many as 47 mentally ill inmates into 23-hour confinement without first getting approval from mental health clinicians, a city oversight board said Tuesday.