Robust Text Classification under Confounding Shift