Identifying Spurious Correlations using Counterfactual Alignment