Why the Democrats lost their nerve in the shutdown battle