Counterfactual Generation Under Confounding