BUG: Excel writer doesn't handle "cols" option correctly

Added fix to ensure that Series associated with column
names are handled correctly even if names are duplicated
or swapped. Issue #5427
Merge pull request #5429 from jmcnamara/bug_excel_cols_option

BUG: Excel writer doesn't handle "cols" option correctly