Hidden structural modules in a cooperative RNA folding transition