If agony is the motivating factor, why are the rates of suicide for people experiencing chronic pain (5%) not as high as the depressed (15%)?
If the answer is that they come to the conclusion of suicide because they are deluded by depression, it comes back to the question in the OP: how does the grandparent's hypothesis explain the symptom of suicidal ideation/acts in depression?