An emotional Matteo Berrettini retired injured against countryman Matteo Arnaldi in the quarter-finals at Roland Garros.