Remove define_array_slice and reuse array_slice for array_pop_front/back
#8401
+178
−159