lpm: fix incorrect reuse of already allocated tbl8