Pirates should technically let you go after you pay. However, if you agitate them in some way (insult them inRP por ejemplo), then I believe you have every right to kill them.
As for haulers; if a hauler doesnt pay a miner no rules were broken I believe. He basically scammed you inRP, it was your own choice to trust that person.