Tesla wins dismissal of shareholder lawsuit over Model 3 output