Simona Halep, a two-time grand slam winner and previous world No.1, has decided to retire after losing her first match of the year.