Former Wimbledon champion Simona Halep is free to play again after a four-year doping ban was reduced to nine months.