The president said aid and possible strikes are intended to counter gains by Islamic militants and save the lives of persecuted minorities.