A U.S. federal judge has dismissed a lawsuit filed by Indian fishermen and farmers who sued the World Bank over a loan for a power plant they claimed ravaged the environment.