WASHINGTON — The defense bill that President Donald Trump signed into law puts an end to many military experiments on cats and dogs and declares a ceasefire to shooting animals in “trauma” exercises.