Documents released Wednesday show several cases in which the Department of Homeland Security improperly collected information about citizens or lawful residents.