what do i do with the headers for those pins? pull them out ?
A picture of the module would be nice.
I assume you meant the headers on the LCD module. Pulling them out will be very difficult if the entire row is soldered on and then the LCD is soldered on to a backpack or PCB. You can try this if you want:
User a desoldering iron or solder wick to remove solder from the LCD side and the back pack side. Then use pliers to squeeze the pins up and pull them up until they come out. The plastic holding the pins is not very strong so you can use the pliers to squeeze the pins if all solder is removed.
A back up plan is to seek the trace on the PCB and see if you can cut them. Chances are that one of them probably is connected to a ground plane, a bit hard to cut.