[php] How to re-index all subarray elements of a multidimensional array?