Add solver to Z3Encoder