fix crash on delete clauses

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