Terrorist groups 'collapsing': Lebanese president