Eight books dealing with subjects including racism and transgender issues must be returned to library shelves in a rural Texas county that had removed them in an ongoing book banning controversy, a divided panel of three federal appeals court judges ruled Thursday.