Prosecutors admit error in whistleblower conviction