The program diverts people accused of nonviolent crimes related to substance use toward behavioral health services.