Heather James said doctors gave her daughter "three to five days" to live in early May, but she survived a further eight