In the quarter-final match between Roger Federer and Tomas Berdych, a linesperson found himself on the wrong end