The Anti-Corruption Agency has arrested 20 people in a major clean-up of the immigration department, including the deputy director general.