Decoherence of a measure of entanglement