Nasdaq rallies 2.6% as US stocks close with big gains