Religiously affiliated hospitals can run their pension plans as church plans exempt from federal funding requirements, the U.S. Supreme Court ruled.