He could have not have her die at all, and we could have easily assumed that she dies in between III and IV. And it could have been the same 'died of a broken-heart' story. Padmé lives with the Organas on Alderaan for say, 3 years, and then dies, so the Organas adopt Leia.