Union bosses say they have called off the strike later this month due to a legal challenge.