Implement compare for Fr.t, G1.t, G2.t
See custom_blocks compare function. Can be used for
=
,
<=
, etc.