Deterministic Entanglement Swapping in a Superconducting Circuit.