In June, the state imposed a set of rules for dispensaries that gave local governments two choices: Allow dispensaries to set up shop anywhere pharmacies can open, or ban them altogether.