Palestinian factions agree to extend ”calm”