Former boxing champion David Haye has been cleared of assault after a judge ruled he had no case to answer.