Johann Zarco beat Alex Rins by just 0.035s to secure pole position at the Catalan GP for the second year in a row.