Arizona’s law banning nearly all abortion was written nearly 50 years before it became a state, when under 7,000 people lived in the territory