The close results were deeply unnerving to Mrs. Clinton and her husband, former President Bill Clinton, as well as her advisers, some of whom had expressed growing confidence in recent days that they had recaptured political momentum after weeks when Mr. Sanders was drawing huge crowds and rising in the pools. The Clinton's had appeared optimistic at rallies over the weekend, thanking Iowans for their support as much as urging them to turn out to vote.