In fact, trading both might have been the best decision. Byram plays with Dahlin and is completely dependent on him, and I'm not sure he can carry his own pair. And we don't even need Byram next to Dahlin, almost anyone can be there and thrive, a more defensive guy for example, or just a complementary player like Fabbro.
Byram isn't "completely dependant" on Dahlin.