Not sure where you are getting your assertions from
I havent "interpreted" anything. Just pointed out bits from your quote. You can't post a quote as evidence and then refuse to believe said quote in its entirety
Break it down, my additions in italics
Sahih al-Bukhari 2 Book 26 710 Narrated 'Asim: I asked Anas bin Malik: "Did you use to (past tense) dislike to perform Tawaf between Safa and Marwa?" He said, "Yes, as it was of the ceremonies of the days of the Pre-lslamic period of ignorance, till Allah revealed (present tense and change in stance) : 'Verily! (The two mountains) As-Safa and Al-Marwa are among the symbols of Allah(affirms its not pagan). It is therefore no sin for him who performs the pilgrimage to the Ka'ba(includes Kaaba as symbol of Allah also), or performs 'Umra, to perform Tawaf between them.'" (2.158)
Italics not clear? Its the bracketed bits
Mohammed claiming god revealed it to him, is not a credible argument, it needs external verification.
However, the 'till' bit and the fact that they clearly say they believed it was pagan before mohammed heard voices, and the other evidence in my earlier reply shows its origins are pagan, even your books confirm it, or there'd be no need for the 'revelation'.
Edit. Let me see if I can break it down a bit more.
They believed it was pagan, because that's what their eyes and experience had witnessed. The fact that your books even need to try to explain why it's no longer pagan, says it was in deed pagan up to that point.
They believed their own first hand evidence 'till' mohamed said he'd heard voices. bells or whatever, which he takes to mean that these things were originally for his god, but pagans took them, and now followers of mohamed can take them back.
This claim from mohamed needs some external proof. I'd argue that the fact no abrahimic faiths have similar and that it's unlikely Abraham ever went near mecca, and had probably never heard of it, as it gets little mention in other writing of the time, so wasn't a significant place, and it's unlikely that the kaaba is old enough, all point to it being pagan. There is evidence from historians that the nomadic, pagan arabs would travel to meet up once a year to settle any tribal disputes, and these 'pilgrimages' are the most likely source of the hajj.
Even if you choose to deny any or all of that, your ultimate claim is that it was from the Abrahimic faith, which itself takes its stories from earlier pagan tales.
Someone hearing voices, images or sensations and claiming they're divine, is not proof, as Peter Sutcliffe found out when he tried that one.