The action by county commissioners “shows a blatant disregard for the expertise of librarians,” one critic said.