bv: Refactor getEqualityStatus and use for both bitblasting solvers. (#6933)