After controversial autopsy attempts, medical examiner resigns