Law Minister Zahid Hamid resigns as govt caves in to protesters' demands