World number nine Caroline Wozniacki suffered a 6-2 6-4 defeat to world number 73 Garbine Muguruza at the Sony Open in Miami.