Coffeehouse chain to raise spending on baristas as it emphasises labour over gadgets to bring customers back