Defending champion Andy Murray is out of the Japan Open after losing 3-6 7-6 (7-5) 6-7 (4-7) to Miles Raonic in the semi-finals.