Joan Mir becomes the first winner from pole position in over a year in the lightweight class, ahead of Martin and Bastianini