This is something from the base game, not the mod, if I understood correctly, but there is no way to kill anyone in your party like that, only if you leave them on the train or in the pob (most recommended) and attack them there, just enter these places and they will automatically leave the party, talk to them and you can invite them again or attack them, but if there are more people in the place they can attack you back.