NBC: How Democrats’ surprise climate and health care bill came together after months of setbacks and reversals