Contract length heterogeneity and the persistence of monetary shocks in a dynamic generalized Taylor economy