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