visitor: Remove ternary in ForeachStatement pretty printer.