Semi-analytic approximate stability selection for correlated data in generalized linear models