Variational bagging: a robust approach for Bayesian uncertainty quantification