It always depends on who made the algorithm. I could imagine that a sort-of america-only open-source-system could be programmed, that is drawing the districts automatically, and without knowledge of who would vote for which party. Just going sort-of grid-based, but in a way that in each district there is the same amount of people. Maybe there can be exceptions to give minorities a vote ...
But in the end, just another voting system, probably based on the popular vote, would be the simplest solution.