Rafael Nadal overcame accidentally hitting himself in the face with his own racket to beat Fabio Fognini in the US Open