fix memory leak for scoped_numeral over trail objects

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