Because an ex-district attorney publicly agreed not to prosecute the case, the high court wiped out Cosby’s sexual assault conviction and barred any future charges.