Los Angeles city leaders approved an ordinance Tuesday that would bar protests within 300 feet of the residence belonging to the person being targeted, a move that came following months of demonstrations outside the homes of public and elected officials.