Synapsis-dependent and -independent mechanisms stabilize homolog pairing during meiotic prophase in C. elegans.