Vinales buries his troubles to set pace in San Marino practi