Prosecutors said the chiefs and other officials exploited a program that offers immigrant victims of violent crime a pathway to residency and citizenship.