It's not just melee units, ranged also don't work.
Just a short video to show a AOE2 DE bug
youtu.be
At 15 seconds I clicked the Monk, my Archers attack the treb... I click again and they just start dancing...
Needed to move my units manually around my army to get them to kill the monk.