The 10,000 dollars is a shared cost, borne by other taxpayers as well. With the refund, the rest of the taxpayers pick up the tab. Someone does pay for it.
No, the $10,000 is no longer needed by the school district to educate a child because they are no longer in the system.