Drought legislation would undermine endangered species protection