But hours earlier, the president had issued an ultimatum — pass his plan or risk a veto.