Nigeria's anti-corruption agency has dismissed more than 40 employees for alleged corruption and financial misconduct over the past three years.