Reaction π− p → η′n in the 15–40 GeV/c momentum range