legion: make sure legion cleans up layout statically registered layout constraints correctly
legion: make sure legion cleans up layout statically registered layout constraints correctly

StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion