Israeli PM declares his resignation