Causally Invariant Predictor with Shift-Robustness