The nine-times champion retired due to a wrist injury while Andy Murray cruised into the quarter-finals after beating Ivo Karlovic in straight sets