Stanley Black & Decker and JetBlue Airways rallied after delivering stronger-than-expected financial results, but losses for Merck and Procter & Gamble following their earnings reports helped check those gains.