fn hops(buses: &[Bus], id: u64, main: u64) -> u32
Hops from id to Main along resolved outputs (Main = 0, a broken cycle = 1).
id