Man fatally shoots himself during SWAT standoff