More than a month after the U.S. Supreme Court cleared the way for same-sex weddings to resume in California, the state's highest court Wednesday rejected the last remaining legal challenge to the unions, while also formally dismissing a secondary petition filed by the San Diego County clerk.