Correctly support splice with the variadic newItem argument