Sunk Cost Fallacy, Self-control, and Contract Design