Palantir contractors have been given access to data of 1.5 million NHS staff