Flow-controlled densification and anomalous dispersion of E. coli through a constriction