The attorney became the seventh official to resign amid the push to dismiss the case against New York City Mayor Eric Adams.