Fix implementation of operator.delitem

delitem is not a const function.
Fix bad int template parameter typing

One should always use size_t, not int.