Manipulating the flow of light using Dirac-cone zero-index metamaterials