Paris Saint-Germain's hopes of a first Ligue 1 title in 18 years suffered a blow after defeat against Nancy.