Note: this is a basic implementation but it could be improved once we include bus information in the netlist and pcbnew can natively keep track of buses and nets instead of just nets. Fixes https://gitlab.com/kicad/code/kicad/-/issues/4158