That's the entire point of Stallman's essay. Those what-ifs (EDIT: well, #2 and #3) aren't things the self-driving car (or a human driver, in most cases) will compute in the milliseconds it takes to make a decision.
> What if there is a car following close behind?
They may be able to stop fast enough. Whereas if you intentionally don't brake hard enough and strike the car in front of you, you (the computer) have traded a possibility for a certainty. You control your braking and following parameters, they control theirs. (EDIT: Yeah, if there's a lot of distance in front of you, then the car can make use of that. It doesn't need to screech to a halt in every case. But this isn't trolley-car territory, it's just the standard way adaptive cruise and emergency braking already works)
> What if the car behind has more passengers than the car in front of you?
Irrelevant. It is not the car's job to be counting the number of occupants in every other car on the highway.
> What if swerving will kill pedestrians, but less than the passengers in the car you're about to hit?
I want the self-driving car to not make that choice. The passengers in the car, however numerous, are much more likely to survive impact than unprotected pedestrians.
It really is straightforward. Don't burden self-driving cars with silly edge-cases. Apply the most effective mitigation known in the general sense, and see that everyone is happy because they can anticipate the car's choices a bit better.