Fairness and robustness in anti-causal prediction