Humans trade-off energetic cost with fatigue avoidance while walking