The president, who has targeted collective bargaining contracts for nearly one million government employees, has said their functions touch on national security.