Lille moved within one point of Ligue 1 leaders Paris St Germain with a dramatic 1-0 triumph over Marseille.