Walgreens will close stores in Hartford and New Haven, citing regulatory and reimbursement pressures impacting costs.