Judge rules daughter of missing mom to stay with maternal grandparents