When there is a call to an alias in the same module, we were not
adding either a reference or call edge. So we could incorrectly think
that the alias was dead if it was inlined in that function, despite
having a reference imported elsewhere. This resulted in unsats at
link time.
Add a reference edge when the call is to an alias, since we won't
add a call edge for it.
I don't understand this change. I seem to me that you're adding a reference when we're calling an alias. Why isn't the alias added as a callee?