I had a chance to speak to one of the lead developers at Palantir a couple years back, and asked him about this apparent conflict of political ideals.
His answer: by enabling agencies to properly apply the data they already have, Palantir's products reduce the pressure to further erode civil liberties in the pursuit of more data.