On The Minimization of XPath queries