The president has pushed to curtail the commercial licenses of immigrants, including legal residents, whom he has blamed for crashes.