ICC ruling ‘step to achieve justice’: Hamas