what happens to will and elizabeth in pirates of the caribbean 3