Sometimes the simplest answer to a problem is also the correct one. Washington licenses pharmacists to operate here. If your beliefs do not allow you to fulfill the duties of a pharmacist, no license can be issued.
The result is no government sanction of religion and no violation of a pharmacist’s oath and duties. Or you could move to a state that mixes religion and government for its citizens. We should not allow that in Washington.