Abortion referral law blocked by judge