Analysis of a logical regulatory network reveals how Fe-S cluster biogenesis is controlled in the face of stress