UN passes cease-fire resolution