U.S. Supreme Court throws out rulings that invalidated abortion laws