I think it's because he wanted to make sure Desmond's entrie vision came true. He sacrificed himself to know that Claire and he baby made it off the island. Of course he could have done differently, but maybe one change in his actions would have made the rescue not happen.