Add secp256k1_num_eq and use it in tests

The previously used secp256k1_num_cmp is not sufficient, because it doesn't compare sign.