queue phi changes for all parts of legalizing switches, as they may not be ready yet; fixes emscripten#2539