The Supreme Court on Monday narrowly endorsed reducing California‘s cramped prison population by more than 30,000 inmates to fix sometimes deadly problems in medical care, ruling that federal judges retain enormous power to oversee troubled state prisons.