President Donald Trump's military authority in Venezuela was challenged on Thursday when Senate Republicans rebelled and supported a bipartisan attempt to rein them in.