After the 2017 that has been processed (and you get the refund) then you will file an amended return and remove the extra income (1099R) that was added to the 2017 return.
See below for instructions on how to do the amended returns.
Note: Amended returns must be printed and mailed in, as cannot be e-filed.
https://ttlc.intuit.com/replies/3288565