compromise of 1877 definition