Implementation of deleteat!
Refactor splice!, delete!