Remove needless accessor check

Because we supported detecting index in function call at 1cd68ffb8.