Undecidability of the word problem for Yamamura’s HNN-extension under nice conditions