to_csv `headers` kwarg now works regardless of `index` kwarg

Addresses issue https://github.com/pydata/pandas/issues/6186