These trolley problems are the stuff of nightmares wherein one becomes a world leader.
If all outcomes are horrible, then your lever pulls or inactions will always be subject to valid condemnation. If you take a risk, you are judged by the outcome, not whether your choice was a good calculation.