What happens is that any candidate can release their delegates and tell them to vote for someone else. So, Joe Seattle would release his delegates and say to vote for Sam Philadelphia in exchange for becoming Joe Vice President. And Dave Miami would do the same in exchange for being named Joe Secretary of State.
The delegates, now released, told who to vote for, vote again, and off we go. 7/