Farms faced cattle restrictions after bovine TB rules breached