Structural reducibility of multilayer networks