Myer and its most vocal critic have struck a deal for the department store chain to buy his company’s portfolio of fashion brands, including shopping mall mainstays Just Jeans, Jay Jays and Portmans.