Constance Marten and her partner Mark Gordon caused the "entirely avoidable" death of their baby daughter, their retrial has heard.