BUG: Possible segfault when chained indexing with an object array under numpy 1.7.1 (GH6016)

closes #6016