The detention and deportation of Pakistani national Khalid Mahmood Rashid from South Africa to Pakistan in 2005 were unlawful, the SCA held on Tuesday