The unusual pairing is expected to close in the middle of next year and will give shareholders of both companies equal ownership of the combined entity