Add with-sat-solver and with-index-hash macros.