If the shutdown lasts just days or even a couple of weeks, the robust stock market that President Donald Trump has boasted about probably will emerge unscathed. A longer impasse, economists say, could rattle consumer and investor confidence, pulling stocks…