Ruling applies to company operations but circuitously to the line’s $10.2-billion oil line growth, which is the target of intense environmental opposition.