For all the sirens warning of disaster, history offers mixed guidance on whether spirited primary fights are fatal for a party in the general election.