Two engineers, who worked on behalf of Brazilian miner Vale at its burst tailings dam, have been arrested, according to Sao Paulo state prosecutors.