'Thoughts and prayers to the NRA' as reviled gun lobby group files for chapter 11 bankruptcy