The list included dozens of cities and counties that DHS said was in noncompliance with federal statutes and had come under intense criticism from some mayors and law enforcement.