Staples settles shareholders’ lawsuit over stock-option accounting