Control of cell fate specification and patterning by an ancestral microRNA