Jazz lose out on Amare, Okafor, respond with trade