Israel's government has approved a Gaza ceasefire deal with Hamas that is set to begin Sunday morning.