A long-running legal dispute between plastic clog maker Crocs and Old Friend foam shoe manufacturer Australia Unlimited, has been settled after four years.