Investigating student understanding of quantum entanglement