A few people have observed that the enemies sometimes "attack you through door" or even "ambushes" you by doing things like "hiding near the walls."
The reason for those behavior is that the AI only knew how to move in a straight line towards the player. This works pretty well for large open terrains, but in something more confined, such as a maze, the AI will frequently get stuck.
Hence, the need for path finding. So the next time the boss kills you, rather than getting stuck somewhere, she may now chooses to hunt you down, even if you are hiding in the spawn. :D