Ukraine has taken its first military action against a pro-Russian uprising in the east as government forces repelled about 30 gunmen at an airport, beginning what the president called an “anti-terrorist operation” to restore authority in the region.