Julia was supposed to leave early after learning Frank's death, but since it didn't happen in the new timeline, Julia didn't leave the hospital which prevented the error that would have killed Shepard.