Parents spared jail over dog attack that killed baby daughter