The Democrats hoped they would have. Foley resigned because at least he has the dignity and decency to do such a thing. As you said, Foley beat Hastert to the punch, which suggests he wasn't pressured out.
That's something I hadn't considered - Foley falling on his sword might have saved Hastert.