ATHENS — Greece has passed a law to limit the powers of Islamic courts in a northern region that is home to about 100,000 Muslims, restricting the application of religious law in the country and giving Muslims the option to take civil cases to Greek courts.