Steve Bannon, the former Trump adviser who fell out of grace with the White House, has resigned from his post as executive chairman of Breitbart News Network.