On a 1040x can I reduce the original over payment that was applied to 2018 estimated taxes to pay the 2017 balance due?

My original return was filed electronically & accepted by the IRS.  I applied my entire 2017 refund of $4,045 to 2018 estimated taxes.  Now I've filed a 1040x and owe $945.  Can I pay that $945 by reducing the $4,045 to $3,100?

The form I printed with Turbo Tax says on 1040x line 20, and in the instructions, that I should write a check to the IRS for $945.  The printed forms also include a new revised 1040 that shows the amount I overpaid and which will be applied to my 2018 estimated taxes is $3,100 (1040 lines 75 & 77). 

Something's wrong.  I shouldn't write a check AND have a lower amount applied to 2018 estimated taxes.  That's paying twice.  I'd prefer to not write a $945 check.  I would rather pay my additional $945 2017 balance due by reducing the 2017 refund applied to my 2018 estimated tax payment.  Can I do this?