Pakistan is a commonwealth country and post Brexit the government will be pleased to see BA resuming ops to places such as this who will be seen as our new trading partners. BA must alos belive they can make money- there are many wealthy ethnic Pakistanis here and many wealthy ones there who will want to fly direct business class to the UK.
While there are risks, as one who worked there 1990-2005 including the first Gulf War I never felt particularly unsafe though did at times have a personal armed guard.