Fix BUKKIT-4381: Refactored ProjectileHitEvent in Arrow

Refactored ProjectileHitEvent in Arrow to check whether the entity in
the event was removed before calling this.die(); to prevent
IndexOutOfBoundsException.