There is a pretty obvious solution in my mind: The federal government offers homeowners a buyout for them to move out of that property. If they choose not to take the buyout, they are removed from the flood insurance program.
This would save the government a lot of money over time, even if they made the buyout significantly higher than the property value.