A hydrodynamic slender-body theory for local rotation at zero Reynolds number