A California court dropped criminal charges against the former chairwoman of HP, Patricia Dunn, closing one chapter in the IT giant's spy scandal case.