the federal government offered the republic of texas the option to join the united states on december 29, 1845, at the end of the administration of president ________________.