Add LVA invalidation after more other passes.

* OptimizeDynScopes changes local vars to tmps!
* LocalOptimizePass shouldn't technically modify LVA state,
  since it is "local", but late at night, and I want to be
  conservative for now.
Tweak pass ordering to minimize LVA invalidations.

* Tweak pass ordering so that we can reuse LVA information
  for passes without having to rerun it.