The employer didn't create such a policy, the state did, overriding the employer's right to create their own policy.
Even in that event, if an individual cannot follow the job requirements, then he needs to get another job. There are certainly other employers and jobs where those individuals can use their skills and resources in a fashion that will not conflict with their personal ideologies.
I understand the issue, but at the same time, I can't broker someone getting a pass on doing their job simply because their religion won't allow them to do it. If their religious principles won't allow them to do a task that is a part of their job, then they need to get another job.
Oh, and one other thing - certanily, the Illinois state legislature needs to address this. But even that being the case, the individual pharmacists need to be prepared for the possibility of being forced to seek other employment.