That's part of the deal. Any immigrant arriving on a visa knows what they've signed up for, and it doesn't involve taking a sabbatical. It also really should not involve buying a house, if you're being sensible. Being fired 100% sucks, but you can transfer an H1B to a new employer. H1B is at least a dual intent visa, so after some years you can apply for a green card, get one, then take all the sabbaticals you want.
(Also, if your life is settled enough to have friends and a girlfriend you don't want to leave, US immigration does offer an answer: marry her!)
In addition, USCIS has formalized the general practice that you have 60 days to find another job or leave the country: https://www.uscis.gov/news/news-releases/uscis-publishes-fin...
I'm glad to hear the 60 days had been codified. I just hope it's a binding decision.
I'll definitely be upset if things don't work out in my current home, but I'm prepared for the possibility. If anyone out there expects their new country to bend over backwards for them and try to keep them from returning to their old country, they're either not fit for the difficulties they'll inevitably face or they're incredibly wealthy.
Particularly to the H1b, the discussion is about cost of transaction (I.e.: changing jobs). There is no bending over in the US labor market.
Now under your rules you cannot do that. What do you do? You've created your life in the US, you have friends, perhaps a girlfriend, maybe even a house. Now you have to leave?