The law minister has stepped down on hardliners in Pakistan