That would most likely be the wires going to your stator coil. I’m only guessing without looking at your diagram but there are very few wires that come form inside the engine. The stator coil, the pick up coil and maybe a neutral safety switch. If your moving the wires around and they kill the engine my guess would be they’re shorting out right at the entry fitting where the wires enter the engine. It’s a plastic collar that’s fitted for the engine case cover. Post a picture of where the wires are coming from.