Entanglement of an impurity in a few-body one-dimensional ideal Bose system