Dollar General Corp. offered about $9 billion for Family Dollar Stores Inc., excluding debt, setting off a bidding war for a company that had agreed to a $8.5 billion takeover by Dollar Tree Inc. last month.