The Arizona Supreme Court on Tuesday upheld a law from 1864 that bans nearly all abortions in the state.