Switch networks for photonic fusion-based quantum computing