Ime the grief at the end of a relationship can easily equal that of losing a loved one. Added to that you have his cruel behaviour and the pregnancy, your loss of your home and the future you thought you'd have. Your whole life has been shattered. Don't let anyone try and play it down. If they do, turn the other cheek.
You have very little rl support but what you have done so far is amazing. You've reached out to the samaritans, your gp, the cab. That shows real grit and determination to survive this.
And survive it you will. Many of us have been in your position, though maybe without the added stress of a pregnancy. And we have pulled through and risen higher than we were before.
First step is to concentrate on building a new future for you and your dc. This will give you focus and take your mind off of his cruelty. Tell him a time and date when he can have your dd for a few hours. Honestly, he won't want more than that. Stick to it. He has to agree. Don't go back to the old house ever. Get your mum to collect your stuff.
The sleepless nights will slowly ebb away. It will happen as you build new hopes and dreams for the future. It will all start clicking into place. Trust the process of grief.
Regarding your mother, what she said was said in anger. Misdirected anger and dysfunctional but not what she will feel further down the line. She won't not love your baby if you decide to continue the pregnancy. That was said for spite in her shock at what happened. I have a similar parent and that's how they react to stress. They get angry at the weakest person. You need to move out as soon as possible as she'll hold you back.
I think you are amazing and strong. You are reacting naturally to a shit situation. A soon as you can move out and build your new future you will start to thrive.