Rearm at zero TTL on failed objects

Fixes: #1468
Take offset rounding into account when rounding the length of segment
size.

Fixes: #1469