The Senate agreed to take up a measure that would require President Trump to either end military operations against Iran or obtain Congressional authorization to continue them, after Republican senators joined Democrats in overcoming months of procedural blockade.