G.O.P. leaders succeeded in pressuring fellow senators who initially supported the measure that would have limited President Trump’s military authority in Venezuela.