What exactly is your scenario here? I had once a species that i wanted to brawl among eachother. But what i didn't know, is that unintelligent beings dont brawl, they just fight to the end. Or flee, but either way, they never make peace. By making them intelligent, they know when to stop: when their enemy flees.
So, instead of focussing on memory, maybe there's another way.
Are these enemies OPPOSED_TO_LIVE? are they animals? are they of an opposing faction?
This could apply to anything that you want to forget that it was ever in conflict with another creature. If I am not mistaken, creatures remember who has attacked them in the past, I think using Hist Fig data. The problems this causes in-game is that various night creatures that retain hist fig memories will fight each other when it would be ideal that they did not. For instance, if someone with an "Infected Thrall" type sydrome (that kind which is transmitted by fluids I think) infects another person, even after that person is transformed into a thrall, since they still have all the same character data, they remember that that person attacked them and stay permanently aggressive to the infector, even though they are now Opposed to Life as well. And if you have ever visited a necromancer tower, you may have noticed that the intelligent undead often break into infighting as soon as you arrive, either because they retain some kind of faction/civ data from their previous lives, or because one attacked the other in worldgen. There's also a lot of irritating bullshit involving were-beasts.
In any case, it would be really cool to be able to somehow have a syndrome, tag, or something that activates a script that causes other creatures with said tag to NEVER be aggressive to them, even if their character data says they should be. This would be great for zombie-plague scenarios, or raising intelligent undead lieutenants in fortress mode, and would have broad modding applications. But I just don't have the knowledge of the games inner workings or DFhack script writing to know how to do this. At least, not without a lot of help.