Residential Capital sued AIG Asset Management, Allstate Insurance Co.and other mortgage- bond buyers to prevent them from collecting money ahead of other creditors in the company’s bankruptcy.