(Reuters) - Business software maker BMC Software Inc said on Monday it agreed to be acquired by a private equity group led by Bain Capital and Golden Gate Capital Corp for about $6.9 billion.