FBI Director Wray resigns amid Trump's criticism of Mar-a-Lago raid