Senate Republicans’ unveiling of their version of tax reform took some of the wind out of the sails of the stock market last week, as all three major U.S. equity indexes recorded weekly losses for the first time in two months.