You are half technically correct.
Vince sticks to his plans. Before Cody was injured he was meant to lose to Roman 1st time and probably this Wrestlemania was meant ot be IT.
Unfortunately, Vince loves to stick to his plans so probably Summerslam is our best guess.
Pretty much to put it simply. This loss is a delay of his previous lose which would occur anyway before he wins the big one.
I can see a part of it Vince being pity to push over the delay of Cody winning to this WM, although if we have to be fair. This was meant to occur.