add equals to BlockIndex