Most businesses stumble at some point. How you respond decides whether the failure becomes a setback or a turning point, and the research has some useful pointers.