Prosecutor resigns after option to remove dog’s vocal cords