On Weyl’s Theorem for Functions of Operators