Neglect by NHS staff contributed to death of midwife’s baby