While Ted and Robin purge themselves of mementos from past relationships, Lily’s performance in an awful play prompts Barney to star in a play of his own.