I assume that you were going to meet your daughter-in-law ... ? Hope it went well.
She needs to know that you recognise that the things you said were hurtful. She needs to know that you are sorry for your uncaring words. She needs to know that you, too, are sad about her miscarriage. She needs to know that you love her, and appreciate her.
You need to build this relationship up again, so that little by little, your past mistakes will be over-shadowed by your present concern and love. This will take time and effort on your part. But you owe her that!
You have been extremely honest here in admitting your own failings, and I admire you for that.
But in future, please think before you speak.
I've known many people in the past who pride themselves on 'saying it how it is', being 'frank', being 'blunt'. But they often do this without a thought of the other person's feelings. Which really is just being selfish and unkind. And who would want to pride themselves on that?