Understanding the Mechanics of SPIGOT: Surrogate Gradients for Latent Structure Learning