Oil company whose pipeline spilled will pay Orange County nearly $1 million