Complex sentence: Some argued that, when the Tang army ran out of food supplies around July 757 AD, the army should have surrendered, which would have prevented the cannibalism that happened later on.
Split into simpler sentences: Some argued that, when the Tang army ran out of food supplies near July 757 AD, the army should have surrendered. That would have prevented the cannibalism that happened later on.