GOP changes mind on religious freedom