U.S. stocks pared their April losses on Friday, with the S&P 500 booking its biggest weekly gain since November as Big Tech stocks rallied.