Chemical potential in the first law for holographic entanglement entropy