Latvala edges out Ogier in Finland