A SAT-based approach to rigorous verification of Bayesian networks