Nantes moved to within three points of third-placed Monaco in Ligue 1 after an emphatic 3-0 win at Bordeaux.