Window -> Undo Split
You can use this menu command to undo all splits of a circuit program window.