Legislation that would permit pharmacists to dispense hormonal contraceptives, like the pill and vaginal rings, advanced in the state Senate this week and similar legislation is pending in the Assembly.