Former general joins a long list of Trump aides who have either quit or been sacked by the US leader.