[WebAssembly] Fix dominance check for PHIs in the StoreResult pass