[php] Rebase array keys after unsetting elements