Fix is_unit for p-adic rings.