Resolving Spurious Correlations in Causal Models of Environments via Interventions