Arizona ban on nearly all abortions in effect, judge rules