How Does Library Migration Impact Software Quality and Comprehension? An Empirical Study