Didn't Jeremy intimate to Julie that he or the police could drag her into it as a co-conspirator?
I agree it would have been foolish for Jeremy to tell Julie of what he was planning and also, in so many words, confess to her what he had done. The latter is especially foolish if he intended to break up with her. But people do strange and foolish things. There's no accounting for it.