Bankrupt auto-parts maker First Brands Group agreed to sell some of its most-recognizable brands for $25 million after losing rescue funding and major customers.