Update: The mortgage insurance deduction was turned on in the program for 2017 as of February 22.
@mbearmandavid For a prepaid lump sum, you can deduct it over 84 months, 12/84ths this year if you made 12 payments. Currently, the deduction expires as of Dec 31, 2017 so this is the last year you can deduct mortgage insurance unless Congress extends it again. If you don't use up the entire amount because the deduction is not renewed before you claim all 84 months, then you just lose the rest of the deduction.
@jjomfs If you already filed your tax return, you can file an amended return to claim the additional tax deduction. However, wait until your first tax return is processed and your refunds paid, in case the IRS makes any adjustments that you need to take into account. Remember that amended returns must be printed and mailed in, and take 4-5 months to process.