The president-elect was eager to evade responsibility for the consequences of a potential shutdown even as he blew up a bipartisan deal that would have kept the government open.