Breitbart News writer resigns after major controversy