How do I remove these pins

The bottom rivets twist out. Vise Grip Pliers work well, then install them by tapping them back in with a hammer.

For the broken fitting you'll need a thread extractor to put in there to back it out. Keep soaking it in PB blaster. It takes time to soak in. Worst case you may need to drill and re-tap it.