Party labels weren’t the defining trait as Democratic and Republican members of Congress assessed where the harsh political climate had led them.