Alternative to D2837 and D2767 for the patrol case.
This makes units wait a few seconds between each patrol waypoint. It negates the "dancing" aspect of patrol entirely.
It doesn't fix the order case, which isn't as bad but still problematic, so it should probably be used with one of the above two.
Also makes the formation and regular unit patrol code more similar.