Unfortunately he has every right to be there. You departed, he did not. I know 20/20 hindsight is not what you want to hear. You should have called the police and they would have made him leave. One of the things the Rosen web site states is “don’t move out of the house”.
Until all property is settled per agreement or through court action he can live in that house. You can also move back in and he can’t do anything to stop you. I realize that may not be an option if you fear for your safety. If you did move back in and he attacked you and you called the police that is one way to get him out. Not a very attractive option I know. Do not take chances with your safety.
He will also be entitled to whatever equity was built up during the marriage regardless if you bought the house before the marriage. You can probably put it up for sale right now if you want. You are the sole title holder to the house. Problem is, the housing marked stinks right now. Very bad time to sell a house. He maybe able to get an attorney and stop the house from being sold until ED is decided.
I know these are not good options. I hope it helps though.