Music Companies Agree to Settle Piracy Suit