International divisions on the charges against Hamas and Israeli leaders echo hypocrisy and threats to the rule of law in domestic politics