If I missed it, please forgive me. But it sounds like this could have been a "top fire". This is more often than not a reloader's error and it doesn't happen very often.
You're still looking at replacing the barrel, bolt, upper receiver and the rest.
NRA Chief Range Safety Officer, Home Firearm Safety and Basic Pistol Instructor
"The democracy will cease to exist when you take away from those who are willing to work and give to those who would not."