Shares in the builders’ merchant have held up well in the sell-off