I don't think a guaranteed replacement is the reason why warranties can contribute to something being BIFL: rather, the lifetime warranty is the manufacturer putting money on the durability of the item, which increases my confidence that they genuinely believe their product is actually durable.
It's still no guarantee and there are lots of other factors to consider, but I think taking a warranty into account is reasonable.