AmTrust buys consumer-services co. CPPNA for $40M