A baby was diagnosed with aggressive brain cancer after doctors mistakenly identified her persistent vomiting as tonsillitis.