Idaho Supreme Court upholds near-total abortion ban