The germline regulates longevity and somatic repair in a sex-specific manner