A case challenging the legality of the Union between Tanganyika and Zanzibar has been struck out by the East African Court of Justice (EACJ).