For the second time, a few Republicans joined Democrats to back a measure calling on the president to seek authorization for the conflict.