A political historian explains why Republicans’ shift to the extreme right could backfire