Rafael Nadal suffered another setback on the road to next month's French Open after crashing out of the Barcelona Open in the third round to Fabio Fognini.