Magnus Carlsen and Hans Niemann settle dispute after chess cheating scandal