Three Republicans joined with five Democrats to support the motion.