Pakistan's Supreme Court has declared the detention of former Prime Minister Imran Khan illegal and ordered his immediate release. teleSUR