You may be right and, of course, that would explain the effect. But I don't recall having triggered Regroup at that time. In fact, Regroup can only be triggered when the ally is defeated by an attack and the problem I mention occurred when the ally was defeated by consequential damage after attacking. I'm talking about a turn that was almost at the end of the game. I think it was exactly the penultimate one.
Thanks once again!