EPA, pipeline operator reach deal to clean up Kansas spill