Championship leader Oscar Piastri put McLaren back on top of the timesheets at the Singapore Grand Prix in an eventful second practice session disrupted by three accidents on Friday night.