Entanglement-swapping chains for general pure states