Irreducible complexity and endosymbiosis