C.A.
Treat it just like the loss of any other family member. You can send a card, provide a dinner, give a little plant she can plant "in memory of". My SIL sent me a special bracelet that I appreciated after my miscarriage. I would say in general advice and words are not what the friends wants to hear - just know that they have someone to talk to if she wants.