Hierarchical composition of reliable recombinase logic devices