The royal waged a years-long, ultimately unsuccessful, legal battle to retain U.K. taxpayer-funded security while living in California