Mayor: Loss of libraries would cause rural towns to be ‘completely isolated’