Dynamics of the bacterial flagellar motor with multiple stators