The solution (such as it is), is to set the money aside for the moment and pretend that you took an HSA distribution to pay for some medical expenses that you don't have yet.
The IRS - so far as I can see - has not described a methodology for dealing with this situation. So as you go through the course of this year, every time you have a medical expense, mark it against this amount that you have set aside, until the entire amount is used up.
Remember that the list of medical expenses is broad - eyeglasses, dental cleanings, etc. See IRS Pub 502 for the list.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"