"There were twins." It (the word for "twins") is missing an alef, and with Tamar, "twins" is written fully (maleh) with the alef. Why? Because they were both righteous ones. But here (with Jacob and Esau), one of them was righteous and one of them was wicked, that is why it is written incomplete (chaser, missing the alef).