Uncertainty around election week helped drive shopper footfall down for the 12th consecutive month, figures show.