An ex-prosecutor who withheld evidence in a 1999 murder case and caused two innocent men to spend 15 years in prison has resigned his law license rather than face a lawyer discipline case.