Andy Murray came from a set down to beat Ugo Humbert at the European Open to secure his spot in his first ATP singles final since his return from hip surgery.