Trump has vetoed the annual defense policy bill, following through on threats to veto a measure that has broad bipartisan support in Congress.