Php 1093 refactor cursor logic

Were these redundant because `zval_ptr_dtor(&cmd);` will remove references to all zvals within, leaving `indexes` and `index_spec` with likely no refs and eligible for GC?