Justices vacated a permit for the pipeline, while also issuing a consequential ruling for state environmental reviews on several fronts — including the state’s public trust doctrine. “It is literally breathing life into the law,” said one legal expert.