A federal judge has thrown out a lawsuit by Wells Fargo Bank against the Lac du Flambeau Indian tribe, which operates the Lake of the Torches Casino here, that charged several violations of a year-old trust agreement aimed at protecting investors.