Wildcard Mirra Andreeva becomes the third 15-year-old to win a WTA 1000 main-draw match after beating Leylah Fernandez at the Madrid Open.