Inferring independent sets of Gaussian variables after thresholding correlations