Memory-altering drug could dull painful experiences after trial helps heartbroken 'turn the page'