Hierarchy of Exchange Interactions in the Triangular-Lattice Spin Liquid YbMgGaO4