The vote came hours before an 8 p.m. deadline set by President Trump to reach a deal to reopen the waterway.