The early Friday vote was a key step toward providing money the Trump administration says it needs funds for mass deportations and security measures that top the Republican agenda.