The election of Rutherford B. Hayes remains the single most disputed presidential outcome in American history—even more than the elections of the 21st century. What happened, and what were the consequences?