Criminals who are a hit can kill other criminals as well, that is just how the feature works since they can attack the hit as well. That is not called abusing or exploiting, that is just bad timing for you as you were doing the ATM robbery.
You can't prevent hits from attacking other criminals because then they wouldn't be able to defend themselves from the other criminals attacking the hit.