Stay away from politics: Pakistan chief justice to military