Unbreak hh tests in trunk

Summary: Support for idx() is now built-in inside Hack. It should also be HHVM
built-in, so this method should not be needed.

Reviewed By: @markw65

Differential Revision: D1640360