Hayden extracts positives from final Ducati qualifying