Trump signs federal law banning animal cruelty