fix unmatched parenthsis and code odor

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