Detroit’s ‘gutsy’ federal judge who pulled off a rare move is set to retire