The order by U.S. District Judge Roslyn Silver cites failures, including preventable deaths and illegitimate “refusals” of medical care.