If someone is walking around on the road, then they are putting themselves in an extremely dangerous position. Whether or not they deserve or intend it, they are the ones with the responsibility to not be there. It's unfortunate if they die, but it's their "fault", at least more than the passenger's fault. If a bunch of kid runs down a highway into incoming traffic, are all the cars supposed to kill themselves?
Sure, people will accidentally be stuck in the middle of a road. If you're unlucky enough to be in that situation, that sucks, but you can't ask someone else to die for it. Accidents are a part of reality, we should minimize unfairness rather than minimize loss of utility.
One person getting unlucky and dying is bad, but one person dying because someone else got unlucky is worse, in my opinion. That's twice the unfairness.