The family of a girl who died while in the care of a scandal-hit mental health trust has expressed relief at hearing an inquest will be held into her death.