Two-time Grand Slam champion Simona Halep is free to return to tennis after a four-year doping ban is cut by the Court of Arbitration for Sport.