Surgeons in Alabama transplanted a pig’s kidneys into a brain-dead man in a step-by-step rehearsal for operations they hope to try in living patients possibly later this year.