Evolutionary origins and maintenance of redundant gene expression during metazoan development