Andy Murray is into the doubles final at Queen's alongside partner Feliciano Lopez after a three set win over John Peers and Henri Kontinen.