A federal judge has dismissed a lawsuit that blamed Dodgers outfielder Yasiel Puig for the alleged imprisonment and torture of a Cuban man.