Thousands of displaced Lebanese people have started returning to their homes after a ceasefire agreement.