Democrats finally reached a deal on jobless benefits, swaying the party's lone holdout and appeasing party moderates.