Casper Ruud slo Sebastian Ofner i kvartfinalen i Swedish Open.