It offers a nuanced look at life in the women’s ward of a psychiatric clinic, where most patients have been convicted of a crime.