Doctor who misdiagnosed girl’s fatal appendicitis as stomach bug receives warning