The state’s budget mess just got a little messier. The man in charge of medical care at state prisons is asking a court to force California to pay for upgrading care. And it could add a few billion to the already massive deficit.