If Stark hadn't died, he would have been able to prevent the decision that led to the second wave.
That second wave wasn't his decision, the pain and shame of retreat forced them back again - Stark would have known that was a mistake.