libcore: Rand impls for tuples and ~/@ boxes