The primary mission was a success. The secondary mission was a failure. $10 million probably covers Orbcomm's launch costs.
SpaceX is awesome, but this isn't an unqualified win. There are groups out for SpaceX's head and they will try (unsuccessfully, I hope) to use this "engine incident" against them. SpaceX did not want this to happen at all.