Dynamic control of gene regulatory logic by seemingly redundant transcription factors