> What can be done to resolve this issue?
One possible way would be to put .nr ln 0 after ".nm". Explanation: if you look at the output of tbl, you can see that tbl will issue ".nm" requests under certain circumstances, but apparently only if the line number register is nonzero.