A national protest by hardline Islamists in Pakistan has been cancelled following the resignation of the law minister who was accused of blasphemy.