Kevin McCarthy's ouster as House speaker could cost the GOP