President Donald Trump’s decision to ban transgender service in the armed forces drove a wedge through military veterans in Congress, with one camp standing squarely behind the commander in chief and the other decrying his order as an ugly attack on dedicated troops.