Genesis of metallurgical defects in titanium alloys