fn switch_remote(app: &mut App, new_index: usize) -> Cmd
Switch the active remote to the given index, clear patchset data, and return a fetch command batch.