WASHINGTON (Reuters) - President Barack Obama's administration was unexpectedly on the winning side in nearly all the close, politically significant Supreme Court cases decided in the term that ended this week, including blockbuster rulings on Obamacare and gay marriage.