C.O.
I'm sorry for your loss. Losing a baby is never easy. I've lost 3. We lost Alexis at 22 weeks.
When someone says "I'm sorry" I just said thank you. My friends near and dear to me - didn't say anything - they held me and let me cry and scream. and laugh and whatever hit me at the time as my hormones were all over the place.
I know people think "it was for the best" mean well - just say Thank you. For those who have never been through a loss, they don't know what to say. Really. I'm sorry is the best thing to say and thank you is how you reply. If you need a hug - go to your dear friends and family - they will be there for you.
Best of luck to you. The pain never really goes away....you just learn to deal with it. It takes time. It's been 6 years for me next week. You will never forget.