Latent Template Induction with Gumbel-CRFs