Stav dette: Invariant causal prediction for block MDPs