Improvements from both the Williams drivers and Gasly on their respective final laps see Hamilton and Perez knocked out in Q2.