Actually let the unit halt and than order them to atack never had any impact on my troops, because I think the problem is that the KI of your units misjudges the position of the enemy they are fighting. Ifit happens I just let the unit of their guard mode.
Still if it happens with phalangitai its always fatal. I lost half of a unit of agyraspidai to levy hoplites that way.