Nonadiabatic coupled-rearrangement-channel approach to muonic molecules