This all goes back to how suiciders should be handled. Both of these topics go hand and hand. for ally kills I don't care if it doesn't give a kill or not, I wouldn't mind at all if it didn't, since you aren't earning the kill by killing someone who is trying to kill you. So imo just let the player die and don't add the kill to the teammate.