MT#5473 Fix deleting peering groups.

Properly propagate deletion of hosts and their prefs, as triggers
don't hit in if they are deleted via constraints, so they leave
orphaned entries in the kamailio db.