The timing and framing of failure can be critical for future success. A setback, says one researcher, can actually propel a person forward.