The 2018 World Champion secured pole in mixed conditions, fighting off attacks from Viñales, Zarco and Iannone