Endogenous Model of Surrender Conditions in Equity-Linked Life Insurance