At least 10 civilians died Thursday when Pakistani troops fired shells aimed at militants who are trying to impose strict Islamic law in northwestern Swat valley .