The District Attorney’s Office is set on its ear when the investigation into the death of an A.D.A. uncovers a scandal that could imperil hundreds of cases.