compiler: optimize empty tree mangling to ast.Pass

Signed-off-by: Julien Danjou <julien@danjou.info>