Minimizing Curves in Prox-regular Subsets of Riemannian Manifolds