The bill comes after a series of demonstrations at the homes of police officers and local officials