pdsh: 2.31 update, --HEAD option, test

see #24147