[compiler-v2] Test case reduced from move-stdlib showing opportunity for optimization (#15338)