GOP lawmaker: Three-Fifths Compromise was to end slavery