Optogenetic rescue of a developmental patterning mutant