Britain's Johanna Konta rediscovered her best form as she thrashed Pauline Parmentier of France in straight sets to reach round four at the Miami Open.