Mozambique authorities deported at least 4,000 foreign nationals in a crackdown against illegal migration in 2017 alone, officials said.