I think the OP is trying to salvaging parts or at least practicing removing parts without damage. But yes any time I remove a part with more than 3 or 4 legs I break it up and remove each pin. A whole lot easier.Hello,
A trick you can use with these more stubborn parts is to work on ONE pin at a time, and that may include the body pins also...one at a time. If you only have two pins to unsolder you can usually heat one up at a time and pry one leg out a little, then go back to the other leg, then back to the previous leg, etc., until the part comes out. But when there are more than two pins it gets harder, so a trick is to detach all the pins from the main body of the part and then heat up and easily remove each pin one by one.
Detaching could mean simply cutting the pins off the body, all of them, one by one with a flush cutting wire cutter, or it could mean grinding the part with a small grinding wheel such as on a Dremel, and then cutting the pins or grinding them off the main body.
Once the pins are detached from the main body they unsolder very easily because they are small and heat up fast and they come out easy unless they were jammed into a hole that was too small in the first place.
You can use this trick with IC chips too, DIP or SMD parts. Of course you cant use the part after that but usually it's the board that is more important.
Good luck