Gaza factions told to stop fighting