Except that is a false dichotomy. It really isn’t about rights in the way you are talking. There is no taking away of the right not to sell contraception. There is (or would be) a policy determination that in order to be a pharmacist, you would have to agree to sell contraception. Your “right” not to sell it is still present, just by not being a pharmacist.
There simply isn’t a stalemate, at least not in terms of rights. I am not claiming the person has a right to be able to purchase contraception, though I advocate a government policy that would ensure she had the ability to do so. And I am not advocating holding a gun to anyone’s head to make them sell contraception. Just making it a condition of the benefit of a government license. I might even be nice enough to grandfather in existing pharmacists, if such a thing could be done in a way which did not jeopardize my policy (not rights) oriented goal of ensuring availability of contraception.
As for whether pharmacists are a protected class on this, probably not, though religious freedom jurisprudence changes by the day. In all likelihood, a condition that all pharmacists carry contraceptives would pass constitutional muster, as it is a generally applicable statute not targeted at religion. If the Bill was entitled the “Lets Screw Over the Catholic Church by Making the Papist Bastards Handle Rubbers Act of 2007” on the other hand, there might be sufficient evidence of anti-religious intent for the law to be struck.
I should say at this point that my interpretation of the religion clauses is very different from pretty much all of SCOTUS right now. What I am trying to do there is apply existing precedent, which is tough to do because it is all over the shop, and there is the typical danger of interpreting it in such a way as to get the result for which you were looking in the first place.
I could go into my radical and trendy view of equal protection analysis if you wanted (end all different levels of scrutiny, give rational basis review some real teeth) but it would bore everyone to tears, so I won’t.