Emit the alias if it is indirectly used in export assignment

This change adds support for emitting the alias declaration if it is indirectly used in export assignment
Also enabled few test cases that werent running correctly
we don't want to be returning false specifically  instead use undefined.