The mega-bill helps the president deliver on promises, but also contains the seeds of political peril, writes Anthony Zurcher.