House leadership votes show shifts for Democrats, Republicans