UK commitment to train Ukrainian pilots 'smart move'