World Rugby suspended South Africa head coach Rassie Erasmus for six matches following criticism of match officials during a recent match.