On an extension of the Trotter-Kato theorem for resolvent families of operators