Staples Inc. has found a new use for some of its roomy office-supply stores: make parts of them into offices. The retailer is joining other chains including Sears Holdings Corp. and Macy’s Inc. that have carved off sections of their stores to other companies in an effort to improve store productivity and to give shoppers, increasingly tempted to buy online, another reason to stop by.