If black continues with the sequence to 5 then it will play out to seki as per the following diagram.
Black will not play a, but play 1, in which case the whole white groups dies since both sides are in damezumari.
Given that, the best white can do is to give up 4 stones and live with the rest of his group in the corner in gote. If they do not defend with 4 trying to tenuki after the a/b exchange black can make ko for the whole group.