Causal Consistency of Structural Equation Models