Menu: Typeahead not accounting for leading whitespace

Fixes [#10649](http://bugs.jqueryui.com/ticket/10649)