Phupinder Gill will retire at year-end, handing his title to Chairman Terry Duffy in an unexpected move at the world's largest futures exchange operator.