You break the car in its regular path, there are no other choices to be made. The car behavior must be predictable. Plus cars are designed to best mitigate head-on collision, and that includes pedestrians. Stop overthinking this shit.