Either states decide they are going to leave, and people decide not to stop them, or congress decides that "this isn't going to work" and each state has a vote more or less on which "side" they will land on.
If you think that is crazy, remember the USSR split up much like this (more or less).
Sure there is fighting these days but the split happened with less of a civil war than you would have expected.
Also it works for the politicians. Say Democrats win the next election. By offering the split, the losing side still gains power, there is still an ideological enemy they can point at, without the need for a war.
There is no requirement for a war in the case of a split, and honestly, it is very unlikely there would be one, since neither side gains anything out of having one.
If anything it may avoid a civil war.