Resolvent Formula for the Empirical Stieltjes Transform