Czech sixth seed Lucie Safarova hit back with two perfect sets to see off Magdalena Rybarikova and reach the second round of the Portugal Open in Oeiras.