If the benches cleared and you ejected everybody that left the bench, you no longer have a game. I'd say that the correct thing to do in a situation like that is what they did in the Clemson/SC game circa 2004 where they called in the law enforcement that was on hand to quell the brawl, call offsetting personal fouls, and play the last few minutes of the game.