In an election that close, everything “tipped the scales”.
Subtract Comey, and HRC would have likely won. Subtract the crooked incompetence of the DNC, and HRC would have likely won (the general, although perhaps not the primary). Subtract HRC, and any other Dem would have likely won.
Attempting to isolate one factor as the key is pointless.