Facebook Inc and Twitter Inc said on Tuesday that they each removed about 300 accounts, mostly originating in Iran, that were found to be engaged in coordinated “inauthentic behavior.”