A Philadelphia social services agency has agreed to pay $6.5 million to the estate of a child who was beaten to death while living in a foster home, according to Kline & Specter partner Nadeem Bezar.