fix scope accounting bug in deprecated solver mode

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>