Gasly retakes third at Monaco F1