Quote from ShinerCCC:
Is this for the sake of a safer trip to Rimuldar? Heck no.
Actually, my statistics have shown that it is 2x riskier on average to make the trip at level 4 than level 5. That doesn't mean that it's not doable, but it is an added risk. However, this early in the game might be worth it for a single segment. I haven't tested leveling around Rimuldar at level 4 myself, but it too probably presents a higher risk. By that point though, you might not want to take as many risks, but it depends on who's doing the run I guess.
Personally, if you're going to fight in zone 4, I'm leaning towards doing it at Kol.
About the fleeing algorithm, the relevant portion starts at about $EE91. If you want, I can elaborate more on that if you don't know how to read the code.