Four months ago, America’s most populous state was struggling to combat a surge in coronavirus hospitalizations that packed patients into…