Metrization of epi-convergence: An application to the strong consistency of M-estimators