SAN FRANCISCO (Reuters) - A U.S. appeals court on Thursday upheld an injunction blocking the U.S. Justice Department from denying public safety grants to so-called sanctuary cities that limit cooperation with the Trump administration's crackdown on illegal immigration.