Stocks shrug off US shutdown, dollar dips