Don't follow other's "advices"
Don't offend your current boss on this issue, otherwise you will have no any support.
You have no time to file your green card application now.
If you didn't tell hime you are already pregant, just let him know your tough situation, and earnest ask him to give you more time to bear the baby until you find a new position.
right now, you can begin to look for new position. Ask your friends, your classmates, everyone you know to help you.
Don't dream that you can sue him through lawsuit. It is useless. I know that because my hubby is a lawyer assistant now. You have no choices.
Go ahead to find a new position ASAP.