Lawsuit accuses federal officials of using ‘police-state tactics’ and carrying out mass racial profiling of Somalis and Latinos