To make a Zombie Pigman stop chasing players after 1.8, you may need to change nbt tags below: 1.Hurtby, you need to rewrite this nbt tag to another entity's UUID.
2.generic.followRange, shrink it as possible (you can turn it back by using command "entitydata").
3.Anger, turn it into a negative number or 0.