Malaysian PM Anwar Ibrahim says the Southeast Asian neighbours agree to a ceasefire to halt days of deadly clashes.