Use consistent coding style for if-then-else

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