Then sue the officers involved.
Reminds me of Reagan's 9 most freighting words: I'm from the government and I'm here to help.
If the guy had no hostages, why was SWAT necessary? Why not just wait until he got hungry or tired or bored and gave up?
As to who will pay, file a claim with the homeowners insurance and let them send their lawyers after the city.