The need for the primary functions of middle managers is as strong as ever. But while middle management isn’t disappearing, it is being reinvented