While controversy over race-focused programs simmers nationally, Pittsburgh has taken tentative steps to shield its initiatives from legal attacks. The city is preparing to fund a study to determine when it can legally consider race in contracting and other areas.