Convert to unpacked before deleting elements

Return FAILURE immediately if a string index removal is attempted.

Moved condition higher up
Merge branch 'phpng-hash-str-del-fix' of https://github.com/datibbaw/php-src into phpng
restore unexpected commit