Legislators advanced a bill in New Jersey on Thursday that would divert nonviolent criminal offenders from the court system into community-based mental health treatment. The legislation would save the state money and reduce recidivism, but critics voiced concerns about who would decide which offenders are chosen.