i think sophie's last line indicates that she remembers ellen...
"she made reagents to erase impossible memories, which is impossible in real life"
it's are impossible in real life, but as the book says, eleanor is an excellent alchemist, so she thought it would be possible.
maybe she forgot...