If the prosecuting attorney elects not to comply with an order of the court under §§ 23A-13-7 and 23A-13-8 to deliver to the defendant any such statement, or such portion thereof as the court may direct, the court shall strike from the record the testimony of the witness, and the trial shall proceed unless the court in its discretion shall determine that the interests of justice require that a mistrial be declared.
SDCL 23A-13-9