The coffee giant plans to shut 434 U.S. stores and lay off 900 non-retail workers after six straight quarters of falling sales.