Conserved regulation of the switch from proliferation to differentiation in the germline