Former Wimbledon champion Simona Halep is given a wildcard at this month’s Madrid Open as she continues her comeback from a doping ban.