The move, which could expose unregistered migrants to criminal prosecution, represents a drastic escalation of the administration’s efforts to push millions of immigrants to leave on their own.