The South African tax department on Monday withdrew its legal case against high-profile politician Julius Malema, allowing the vocal government critic to keep his seat in parliament.