The state Supreme Court effectively restored an abortion ban voters believed they’d defeated just months ago. The reversal points up the risks of relying on ballot measures to ensure abortion access.