Zaslat SMS: Invariant causal prediction for block MDPs