Mitch Moreland blooped a walk-off single into left, giving the Red Sox a 6-5 victory that prevented them from getting swept by the Astros on Sunday night. The win put Boston’s magic number at one for clinching a postseason berth and 12 for winning the American League East.