A Brooklyn federal judge has dismissed a proposed securities class action claiming that Volkswagen had misled its investors about alleged collusion with other major German automakers.