Stability of a Generalized Debiased Lasso with Applications to Resampling-Based Variable Selection