Congratulations on the new addition to your family. May the baby remains healthy and your daughter remain strong.
As for the douchebag, I'm going to take an opposing position. Having toughed out a relationship with a woman I despised for 13 years, because we shared a child, honestly, sometimes these decisions are best made as soon as possible. This was better than leading her on, cheating, and all the other things that go with a bad relationship. I'm sorry your daughter has to go through this, but Sharing in the birth, growth, and development of a child does not require a girlfriend-boyfriend or marriage-based relationship.