Thresholded Graphical Lasso Adjusts for Latent Variables: Application to Functional Neural Connectivity