Hamas hails Tunisian court ruling against Israeli visit