Environmentalists claim ‘setback’ for species protection after ruling tied to Delta project