Prime Minister Hassan Diab's announcement came amid growing public pressure on the government to step down following the devastating explosion in Beirut.