A federal judge rejected Aetna’s bid to buy its rival health insurer because of potentially reduced competition and higher costs. The beauty products retailer’s sales fell short of Wall Street forecasts as a business it bought from Procter & Gamble struggled.