pub(crate) fn reconcile_duplicate_panes(state: &AppState) -> usize
Close every duplicate pane there is. Returns how many it closed now.