Destroy Python pointer cleanly