A federal judge on Friday cleared Tempur Sealy International’s (NYSE:TPX) $4B takeover of Mattress Firm, rejecting the Federal Trade Commission’s claim that the combination would harm consumers.