Change int to Index in equalsIdentity(). This fixes compilation errors in nullary test on 64-bits machines.