Fix #543: Incremental optimizer would never really invalidate.

When the file changes, the dce would invalidate its info and
its desugared version, but not its tree. So it would recompute
the desugared version from ... the old tree.
Merge pull request #557 from sjrd/fix-incremental-dce

Fix #543: Incremental optimizer would never really invalidate.