Fixes #722 (closed).
Compiling export var x now compiles to var x_1; export { x_1 as x }.
export var x
var x_1; export { x_1 as x }