Prosecutors say they will retry Bill Cosby after the judge was forced to declare a mistrial in his sexual assault case because of a deadlocked jury.