Fix bug in pretty printer

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>