Callias-type operators in C*-algebras