Two Arizona Supreme Court justices have survived efforts to oust them over their votes on a controversial abortion measure.