The Influence of Collective Behavior on Pacing in Endurance Competitions