I use the sawzall to cut the metal brackets close to the box. Then work the wires out of the box and either pull it out or drop it into cavity. Finally, if necessary I remove the brackets/nails.
Don