Praising the battle Michael L. Shakman has waged against political patronage in government hiring, a federal judge on Wednesday dismissed Cook County as a defendant in the lawsuit the Chicago lawyer filed 49 years ago.U.S. Magistrate Judge Sidney I. Schenkier granted a motion to end federal oversight of the county’s hiring and promotion practices.Schenkier granted the motion after finding the county is in substantial compliance with a settlement agreement — termed an agreed supplemental relief order — it …