Understand, Anna loved both Elsa and her magic. The magic was simply a means to have some fun to Anna. I'm quite sure that Anna would have forgiven Elsa if she kept her memories.