Wal-Mart, amid weak earnings and storms, to focus on smaller stores