Anti-narcotics chief prosecutor resigns