The agreement between the government and the Tehreek-e-Labbaik party was reached in the city of Lahore where Islamists have been rallying since Wednesday, when the Supreme Court overturned the 2010 conviction of Asia Bibi for insulting the Prophet Muhammad.