The president hailed the bill as he signed it on Tuesday as the "final piece" of his domestic agenda.