[bugpoint] Fix "Alias must point to a definition" problems