Simon Butteriss examines how a quarrel over the cost of carpet proved fatal to Gilbert and Sullivan's musical partnership