Tax revenues generated by legalized marijuana, plus shedding the huge costs of arresting and jailing nonviolent offenders, are powerfully appealing to fiscally beleagured states.