The San Francisco-based home retailer’s results beat expectations for the year, as it pledged to return excess cash to its shareholders in the form of increased quarterly dividend payouts and ongoing share repurchases.