Entanglement and Coherence in Quantum State Merging