OTTAWA—A law outlawing any dealings with the Taliban, which charities complain is impeding their ability to help needy Afghans, could be adjusted by the federal government to give more flexibility to aid agencies. International Development Minister Harjit Sajjan said the government is looking at making changes to the law to create “flexibility” to make humanitarian…