Fix Array#delete for 1.9
Merge pull request #2230 from kachick/fix-array-delete

Fix Array#delete for 1.9