The visual ecology of pupillary action in superposition eyes