switch to Z3 SimpleSolver for solving type constraints