I just edited my comment to you. Please read it again. As I stated if the Muslims themselves were to do acts against Islam that takes them out of the fold of Islam, and if they were to then attack Muslims then the Muslims can take help from the non Muslims against those who went out of the fold of Islam