Wall Street major indices logged their weakest session in a month, as investors booked profits following the end of the longest government shutdown in history.