making ddl work with objectives

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