fix uniquify pass
fix validate-loop-locals stack overflow