Re-entrance and entanglement in the one-dimensional Bose-Hubbard model