Christina McHale scored a top-flight win at Indian Wells, defeating World No. 4 Garbine Muguruza in the second round.