Use esutils.ast.isProblematicIfStatement

And it fixes issues of isProblematicIfStatement.