Mayor of London's emails to be searched in Palantir legal battle