Gasly restores third at Monaco GP