Detective who tried to save babies’ lives finds herself on trial instead