Toddler turned away from hospital with 'tummy bug' died from