No, the meaning doesn’t change. The best way to understand “shaving away at” is that it appears to be the author’s alteration of the common idiom/set phrase/cliche “chip away at.” The author, maybe wanting to avoid using such a common phrase, altered it by using “shave” in place of “chip”, but kept the “at” that is part of the set phrase.