Thermal runaway and resistive properties of a Bi2223 pancake coil subjected to overcurrent