Caroline Wozniacki reached her first grand slam semi-final since the 2011 US Open with a comprehensive rout of Sara Errani at Flushing Meadows.