Louise Haigh resigned as transport secretary after it emerged she had pleaded guilty to a criminal offence in 2013.