Traffic preemption system with headway management