Enea Bastianini took his first pole of 2017 ahead of Jorge Martin and Joan Mir, however the session was marred by a crash at the end