On random tc, correctly skip invalid tool table entries
On random tc, correctly skip invalid tool table entries

This fixes an error case on random tc when a tool table entry
described a pocket that was out of range.  This printed an error
message but then if there were subsequent valid words on the line,
the entry was incorrectly marked as 'valid' again, and the invalid
pocket number caused the array to be written out of bounds.

To reproduce, on a random tc config, use a tool entry such as
T1 P99999 Z1.0

With this change, the invalid entry is skipped when reading, so
when the tool table later gets rewritten it's gone.  I think this
was the original intent.

kinsamanka/machinekit,unseenlaser/linuxcnc,strahlex/machinekit,ArcEye/MK-Qt5,ikcalB/linuxcnc-mirror,ArcEye/machinekit-testing,cnc-club/linuxcnc,kinsamanka/machinekit,ArcEye/MK-Qt5,strahlex/machinekit,Cid427/machinekit,araisrobo/machinekit,narogon/linuxcnc,cdsteinkuehler/MachineKit,ikcalB/linuxcnc-mirror,ArcEye/machinekit-testing,narogon/linuxcnc,EqAfrica/machinekit,jaguarcat79/ILC-with-LinuxCNC,cdsteinkuehler/linuxcnc,ikcalB/linuxcnc-mirror,araisrobo/machinekit,ianmcmahon/linuxcnc-mirror,bobvanderlinden/machinekit,cnc-club/linuxcnc,ArcEye/machinekit-testing,mhaberler/machinekit,kinsamanka/machinekit,EqAfrica/machinekit,ArcEye/MK-Qt5,cdsteinkuehler/MachineKit,cdsteinkuehler/linuxcnc,cdsteinkuehler/MachineKit,RunningLight/machinekit,cnc-club/linuxcnc,araisrobo/linuxcnc,Cid427/machinekit,ArcEye/machinekit-testing,EqAfrica/machinekit,unseenlaser/machinekit,araisrobo/linuxcnc,ArcEye/MK-Qt5,EqAfrica/machinekit,mhaberler/machinekit,Cid427/machinekit,bobvanderlinden/machinekit,narogon/linuxcnc,ianmcmahon/linuxcnc-mirror,bobvanderlinden/machinekit,kinsamanka/machinekit,unseenlaser/machinekit,jaguarcat79/ILC-with-LinuxCNC,Cid427/machinekit,cdsteinkuehler/linuxcnc,aschiffler/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,EqAfrica/machinekit,bobvanderlinden/machinekit,cnc-club/linuxcnc,mhaberler/machinekit,strahlex/machinekit,ArcEye/MK-Qt5,narogon/linuxcnc,ArcEye/machinekit-testing,araisrobo/machinekit,araisrobo/machinekit,ArcEye/machinekit-testing,cnc-club/linuxcnc,aschiffler/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,ikcalB/linuxcnc-mirror,cdsteinkuehler/linuxcnc,ArcEye/MK-Qt5,mhaberler/machinekit,araisrobo/linuxcnc,kinsamanka/machinekit,cdsteinkuehler/linuxcnc,cnc-club/linuxcnc,araisrobo/linuxcnc,bmwiedemann/linuxcnc-mirror,cdsteinkuehler/MachineKit,ArcEye/MK-Qt5,EqAfrica/machinekit,bmwiedemann/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,RunningLight/machinekit,unseenlaser/linuxcnc,cnc-club/linuxcnc,araisrobo/machinekit,cdsteinkuehler/linuxcnc,bobvanderlinden/machinekit,cdsteinkuehler/MachineKit,RunningLight/machinekit,Cid427/machinekit,bmwiedemann/linuxcnc-mirror,cdsteinkuehler/MachineKit,ikcalB/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,unseenlaser/machinekit,aschiffler/linuxcnc,bobvanderlinden/machinekit,mhaberler/machinekit,ianmcmahon/linuxcnc-mirror,strahlex/machinekit,unseenlaser/machinekit,ianmcmahon/linuxcnc-mirror,strahlex/machinekit,Cid427/machinekit,unseenlaser/machinekit,jaguarcat79/ILC-with-LinuxCNC,RunningLight/machinekit,narogon/linuxcnc,unseenlaser/machinekit,ikcalB/linuxcnc-mirror,Cid427/machinekit,strahlex/machinekit,araisrobo/linuxcnc,RunningLight/machinekit,ArcEye/machinekit-testing,ianmcmahon/linuxcnc-mirror,unseenlaser/machinekit,EqAfrica/machinekit,ArcEye/MK-Qt5,bmwiedemann/linuxcnc-mirror,mhaberler/machinekit,RunningLight/machinekit,ArcEye/machinekit-testing,ikcalB/linuxcnc-mirror,unseenlaser/machinekit,strahlex/machinekit,Cid427/machinekit,mhaberler/machinekit,bmwiedemann/linuxcnc-mirror,mhaberler/machinekit,kinsamanka/machinekit,bobvanderlinden/machinekit,araisrobo/machinekit,RunningLight/machinekit,unseenlaser/linuxcnc,bmwiedemann/linuxcnc-mirror,kinsamanka/machinekit,RunningLight/machinekit,aschiffler/linuxcnc,unseenlaser/linuxcnc,unseenlaser/linuxcnc,aschiffler/linuxcnc,kinsamanka/machinekit,ianmcmahon/linuxcnc-mirror,araisrobo/machinekit,EqAfrica/machinekit,araisrobo/machinekit,araisrobo/machinekit,bobvanderlinden/machinekit