Court would keep veterans out of jail, in treatment