Former Labour MP Mike Amesbury will walk free after winning an appeal against his 10-week jail sentence for punching a man in the street.