A pump that sends water to millions of Southern Californians and thousands of acres of cropland could be shut down, after a judge’s ruling that it violates the Endangered Species Act, by killing endangered fish.