Embracing the sting of failure may not sound enjoyable — but new research shows it's the best way to learn from mistakes.