Zlatan Ibrahimovic scored twice as Paris Saint-Germain saw off Nancy 2-1 in Ligue 1, while Lille beat Valenciennes 3-1.