Retail group The John Lewis Partnership posted a 26.6% drop in first-half profit, despite gaining market share in the fashion sector.