Joint chiefs slams Trump