This is why I no longer use maglites (apart from the one in my car - 6C). I have had several battery leaks that sieze the cells in place, I threw away a 6D, a 3D, and I have a slighy patch of corrosion inside one of the 6Cs I have. This has always been with brand name batteries, I just don't know why it happens, at least with lithiums, they are never usually in the light long enough to leak or corrode, if they were prone to at all.
To remove cells, try hammering a large screwdriver into the base of the cell, then make a sharp bent hook, like a fish hook, out of coat hanger wire, and push this into the hole you just made. The 'barb' should catch, allowing you to pull on the wire (with vice grips, or a bench vice) and remove the cell/s.