FBI Director Christopher Wray says he intends to resign before Trump takes office in January