Immigration authorities were expanding use of facial recognition software to identify and track undocumented individuals