E2 tables: fixed clipTo/FromTypeid not setting size

And made index functions decrease size when writing nil values