Don't emit non-canonical empty arrays in array_remove().

Dean Rasheed