The federal appeals court said the prosecution failed to disclose that a key trial witness was a paid informant.