Louise Haigh has resigned as Transport Secretary after pleading guilty to a criminal offence related to incorrectly telling police that a work mobile phone was stolen in 2013.