Engineering quantum entanglement by coherent Rydberg dressing