Paris Saint-Germain laboured to a 1-0 victory over rock-bottom Troyes to move a step closer to the Ligue 1 title.