That leads to some game theory and math, with things like some form of ranked-voting, uncapping the House of Representatives, and maybe even proportional-representation rather than lots of just-one-winner races.
Others have offered contrived rules for solving it through policy, but these don't account for how to get those with power over us to institute such rules to bind their own hands and then to follow the rules to their own detriment
> I can't even figure it out as a thought exercise.