James Mattis resigns amid profound disagreements with Trump