Nasdaq gains more than 1.4% in biggest rally of 2017