New York’s safety-net hospitals were the front lines of the coronavirus. Now they’re facing ruin.