Jo Haylen has resigned as NSW transport minister in the wake of revelations about her use of a taxpayer-funder driver.