Rutherford B. Hayes, in office 1877-1881