Isn't the real problem here that you will get a single entry visa from EK? It's unlikely immigration cares who you fly out with - provided you have complied with the stipulations of your visa. But how will you re-enter the UAE on a visa which will have no validity after you leave?