After months of delays and hand-wringing, the US president celebrated a breakthrough, saying "we came together and we got it done."