Livestock worrying bill makes it to Holyrood