The vote came hours after the Senate voted to block President Donald Trump from further military action in Venezuela.