Throw a CRE instead of an IllegalArgumentException in array_insert