A lack of adequate training and other deficiencies contributed to the October 2017 ambush, probe finds 7 years ago